package com.qding.park.manager.pojo;

import java.util.Date;

/**
 * @ClassName TbHistoryRecord
 * @Description TODO(历史记录)
 * @author Administrator
 * @Date 2016年8月26日 下午1:42:51
 * @version 1.0.0
 */
public class TbHistoryRecord {
	/**
	 * @Field @orderId : TODO(订单号)
	 */
	private String orderId;
	
	/**
	 * @Field @recordType : TODO(记录类型)
	 */
	private int recordType=-1;
	
	/**
	 * @Field @reserveIncheckTime : TODO(预定进场时间)
	 */
	private Date reserveIncheckTime;
	
	/**
	 * @Field @realIncheckTime : TODO(实际进场时间)
	 */
	private Date realIncheckTime;
	
	/**
	 * @Field @realOutcheckTime : TODO(实际出场时间)
	 */
	private Date realOutcheckTime;
	
	private int orderSource;
	
	/**
	 * @Field @payFee : TODO(缴费金额)
	 */
	private int payFee;
	
	/**
	 * @Field @monthNum : TODO(月数)
	 */
	private int monthNum;
	
	/**
	 * @Field @feeRule : TODO(计费规则)
	 */
	private String feeRule;
	
	/**
	 * @Field @payFeeTime : TODO(缴费时间)
	 */
	private Date payFeeTime;
	
	/**
	 * @Field @expirationTime : TODO(到期时间)
	 */
	private Date expirationTime;
	
	
	    /**
	    * @Fields status : TODO(记录状态)
	    */
	private int status;
	
	
	    /**
	    * @Fields orderTime : TODO(记录排序时间)
	    */
	private Date orderTime;
	
	/**
	  * @Fields parkId : TODO（车场编号）
	  */
	private String parkId;
	
	public static enum RecordTypeEnum{
		
		RESERVE_STOPING_PAY(3,"停泊中"),
		TEMP_PAY(2,"临停缴费"),
		MONTHRENT_PAY(1,"月租续费"),
		RESERVE_PAY(0,"预定停泊"),
		ALL_PAY(-1,"所有");
		
		
		
		private int code;
		
		private String desc;
		
		private RecordTypeEnum(int code,String desc){
			this.code=code;
			this.desc=desc;
		}
		
		public String getCodeStr(){
			
			return String.valueOf(code);
		}
		
		public int getCode() {
			return code;
		}

		public void setCode(int code) {
			this.code = code;
		}

		public String getDesc() {
			return desc;
		}

		public void setDesc(String desc) {
			this.desc = desc;
		}
		
		
		
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public int getRecordType() {
		return recordType;
	}

	public void setRecordType(int recordType) {
		this.recordType = recordType;
	}

	public Date getReserveIncheckTime() {
		return reserveIncheckTime;
	}

	public void setReserveIncheckTime(Date reserveIncheckTime) {
		this.reserveIncheckTime = reserveIncheckTime;
	}

	public Date getRealIncheckTime() {
		return realIncheckTime;
	}

	public void setRealIncheckTime(Date realIncheckTime) {
		this.realIncheckTime = realIncheckTime;
	}

	public Date getRealOutcheckTime() {
		return realOutcheckTime;
	}

	public void setRealOutcheckTime(Date realOutcheckTime) {
		this.realOutcheckTime = realOutcheckTime;
	}

	public int getPayFee() {
		return payFee;
	}

	public void setPayFee(int payFee) {
		this.payFee = payFee;
	}

	public int getMonthNum() {
		return monthNum;
	}

	public void setMonthNum(int monthNum) {
		this.monthNum = monthNum;
	}

	public String getFeeRule() {
		return feeRule;
	}

	public void setFeeRule(String feeRule) {
		this.feeRule = feeRule;
	}

	public Date getPayFeeTime() {
		return payFeeTime;
	}

	public void setPayFeeTime(Date payFeeTime) {
		this.payFeeTime = payFeeTime;
	}

	public Date getExpirationTime() {
		return expirationTime;
	}

	public void setExpirationTime(Date expirationTime) {
		this.expirationTime = expirationTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public String getParkId() {
		return parkId;
	}

	public void setParkId(String parkId) {
		this.parkId = parkId;
	}

	public int getOrderSource() {
		return orderSource;
	}

	public void setOrderSource(int orderSource) {
		this.orderSource = orderSource;
	}
	
}

